package com.yc.cloud.portal.service;

import com.yc.cloud.common.basic.api.ResponseResult;
import com.yc.cloud.portal.request.MediaBasicInfoParam;
import com.yc.cloud.portal.request.MediaCaptureParam;
import com.yc.cloud.portal.request.MediaLocationInfoParam;
import com.yc.cloud.portal.request.MediaOcrInfoParam;
import org.springframework.web.multipart.MultipartFile;

public interface MediaService {

    /**
     * 上传设备状态
     *
     * @return
     */
    ResponseResult<String> basicInfo(MediaBasicInfoParam param);

    /**
     * 上传设备拍照
     *
     * @return
     */
    ResponseResult<String> capture(MediaCaptureParam param, MultipartFile file);

    /**
     * 上传设备OCR信息
     *
     * @return
     */
    ResponseResult<String> ocrInfo(MediaOcrInfoParam param);

    /**
     * 上传设备定位信息
     *
     * @return
     */
    ResponseResult<String> locationInfo(MediaLocationInfoParam param);
}
